
from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow_Angle(object):
    def setupUiAngle(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(339, 565)
        MainWindow.setMinimumSize(QtCore.QSize(339, 565))
        MainWindow.setMaximumSize(QtCore.QSize(339, 565))
        MainWindow.setSizeIncrement(QtCore.QSize(0, 1))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("../images/logo.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setToolTipDuration(-1)
        MainWindow.setLayoutDirection(QtCore.Qt.LeftToRight)
        MainWindow.setAutoFillBackground(False)
        MainWindow.setStyleSheet("")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setStyleSheet("background-color: rgb(255, 255, 255);")
        self.centralwidget.setObjectName("centralwidget")
        self.frame = QtWidgets.QFrame(self.centralwidget)
        self.frame.setGeometry(QtCore.QRect(0, 0, 341, 531))
        self.frame.setStyleSheet("")
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.frame_buttons = QtWidgets.QFrame(self.frame)
        self.frame_buttons.setGeometry(QtCore.QRect(10, 230, 321, 311))
        self.frame_buttons.setStyleSheet("")
        self.frame_buttons.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_buttons.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_buttons.setObjectName("frame_buttons")
        self.a_point = QtWidgets.QPushButton(self.frame_buttons)
        self.a_point.setGeometry(QtCore.QRect(220, 240, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_point.setFont(font)
        self.a_point.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_point.setObjectName("a_point")
        self.a_three = QtWidgets.QPushButton(self.frame_buttons)
        self.a_three.setGeometry(QtCore.QRect(220, 180, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_three.setFont(font)
        self.a_three.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_three.setObjectName("a_three")
        self.a_zero = QtWidgets.QPushButton(self.frame_buttons)
        self.a_zero.setGeometry(QtCore.QRect(110, 240, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_zero.setFont(font)
        self.a_zero.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_zero.setObjectName("a_zero")
        self.a_two = QtWidgets.QPushButton(self.frame_buttons)
        self.a_two.setGeometry(QtCore.QRect(110, 180, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_two.setFont(font)
        self.a_two.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_two.setObjectName("a_two")
        self.a_eight = QtWidgets.QPushButton(self.frame_buttons)
        self.a_eight.setGeometry(QtCore.QRect(110, 60, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_eight.setFont(font)
        self.a_eight.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_eight.setObjectName("a_eight")
        self.a_five = QtWidgets.QPushButton(self.frame_buttons)
        self.a_five.setGeometry(QtCore.QRect(110, 120, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_five.setFont(font)
        self.a_five.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_five.setObjectName("a_five")
        self.a_seven = QtWidgets.QPushButton(self.frame_buttons)
        self.a_seven.setGeometry(QtCore.QRect(0, 60, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_seven.setFont(font)
        self.a_seven.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_seven.setObjectName("a_seven")
        self.a_six = QtWidgets.QPushButton(self.frame_buttons)
        self.a_six.setGeometry(QtCore.QRect(220, 120, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_six.setFont(font)
        self.a_six.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_six.setObjectName("a_six")
        self.a_four = QtWidgets.QPushButton(self.frame_buttons)
        self.a_four.setGeometry(QtCore.QRect(0, 120, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_four.setFont(font)
        self.a_four.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_four.setObjectName("a_four")
        self.a_nine = QtWidgets.QPushButton(self.frame_buttons)
        self.a_nine.setGeometry(QtCore.QRect(220, 60, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_nine.setFont(font)
        self.a_nine.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_nine.setObjectName("a_nine")
        self.a_one = QtWidgets.QPushButton(self.frame_buttons)
        self.a_one.setGeometry(QtCore.QRect(0, 180, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_one.setFont(font)
        self.a_one.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(193, 193, 193);\n"
"border-radius: 26px;")
        self.a_one.setObjectName("a_one")
        self.a_ce = QtWidgets.QPushButton(self.frame_buttons)
        self.a_ce.setGeometry(QtCore.QRect(110, 0, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.a_ce.setFont(font)
        self.a_ce.setStyleSheet("color: rgb(120, 120, 120);\n"
"background-color: rgb(232, 232, 232);\n"
"border-radius: 25px;")
        self.a_ce.setObjectName("a_ce")
        self.a_back = QtWidgets.QPushButton(self.frame_buttons)
        self.a_back.setGeometry(QtCore.QRect(220, 0, 100, 55))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.a_back.setFont(font)
        self.a_back.setStyleSheet("color: rgb(120, 120, 120);\n"
"border-radius: 25px;\n"
"background-color: rgb(255, 216, 97);\n"
"")
        self.a_back.setObjectName("a_back")
        self.frame_calculations_display = QtWidgets.QFrame(self.frame)
        self.frame_calculations_display.setGeometry(QtCore.QRect(10, 50, 321, 181))
        self.frame_calculations_display.setStyleSheet("")
        self.frame_calculations_display.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_calculations_display.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_calculations_display.setObjectName("frame_calculations_display")
        self.a_label_1 = QtWidgets.QLabel(self.frame_calculations_display)
        self.a_label_1.setGeometry(QtCore.QRect(10, 20, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(15)
        self.a_label_1.setFont(font)
        self.a_label_1.setStyleSheet("color: rgb(117, 117, 117);")
        self.a_label_1.setObjectName("a_label_1")
        self.a_label_2 = QtWidgets.QLabel(self.frame_calculations_display)
        self.a_label_2.setGeometry(QtCore.QRect(10, 100, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(15)
        self.a_label_2.setFont(font)
        self.a_label_2.setStyleSheet("color: rgb(117, 117, 117);")
        self.a_label_2.setObjectName("a_label_2")
        self.a_comboBox_2 = QtWidgets.QComboBox(self.frame_calculations_display)
        self.a_comboBox_2.setGeometry(QtCore.QRect(10, 140, 141, 31))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.a_comboBox_2.setFont(font)
        self.a_comboBox_2.setStyleSheet("color: rgb(117, 117, 117);\n"
"border-radius: 50px;\n"
"background-color: rgb(232, 232, 232);\n"
"")
        self.a_comboBox_2.setObjectName("a_comboBox_2")
        self.a_comboBox_2.addItem("")
        self.a_comboBox_2.addItem("")
        self.a_comboBox_2.addItem("")
        self.a_comboBox_1 = QtWidgets.QComboBox(self.frame_calculations_display)
        self.a_comboBox_1.setGeometry(QtCore.QRect(12, 60, 131, 31))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.a_comboBox_1.setFont(font)
        self.a_comboBox_1.setStyleSheet("color: rgb(117, 117, 117);\n"
"border-radius: 50px;\n"
"background-color: rgb(232, 232, 232);\n"
"")
        self.a_comboBox_1.setObjectName("a_comboBox_1")
        self.a_comboBox_1.addItem("")
        self.a_comboBox_1.addItem("")
        self.a_comboBox_1.addItem("")
        self.label = QtWidgets.QLabel(self.frame)
        self.label.setGeometry(QtCore.QRect(20, 10, 311, 41))
        font = QtGui.QFont()
        font.setPointSize(19)
        self.label.setFont(font)
        self.label.setStyleSheet("color: rgb(117, 117, 117);")
        self.label.setObjectName("label")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menuBar = QtWidgets.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 339, 26))
        self.menuBar.setObjectName("menuBar")
        self.menuOption = QtWidgets.QMenu(self.menuBar)
        self.menuOption.setStyleSheet("")
        self.menuOption.setTitle("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap("../images/text.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.menuOption.setIcon(icon1)
        self.menuOption.setObjectName("menuOption")
        self.menuCalculator = QtWidgets.QMenu(self.menuOption)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap("../images/calculator(3).png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.menuCalculator.setIcon(icon2)
        self.menuCalculator.setObjectName("menuCalculator")
        self.menuConverter = QtWidgets.QMenu(self.menuOption)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap("../images/recycle.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.menuConverter.setIcon(icon3)
        self.menuConverter.setObjectName("menuConverter")

        MainWindow.setMenuBar(self.menuBar)
        self.actionDark = QtWidgets.QAction(MainWindow)
        self.actionDark.setObjectName("actionDark")
        self.actionLight = QtWidgets.QAction(MainWindow)
        self.actionLight.setObjectName("actionLight")
        self.actionSetting = QtWidgets.QAction(MainWindow)
        self.actionSetting.setObjectName("actionSetting")
        self.actionExit = QtWidgets.QAction(MainWindow)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap("../images/logout.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExit.setIcon(icon4)
        self.actionExit.setObjectName("actionExit")
        self.actionStandard = QtWidgets.QAction(MainWindow)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap("../images/calculator.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionStandard.setIcon(icon5)
        self.actionStandard.setObjectName("actionStandard")
        self.actionScientific = QtWidgets.QAction(MainWindow)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap("../images/microscope.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionScientific.setIcon(icon6)
        self.actionScientific.setObjectName("actionScientific")
        self.actionProgrammer = QtWidgets.QAction(MainWindow)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap("../images/code.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionProgrammer.setIcon(icon7)
        self.actionProgrammer.setObjectName("actionProgrammer")
        self.actionDate_Calculation = QtWidgets.QAction(MainWindow)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap("../images/calendar.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionDate_Calculation.setIcon(icon8)
        self.actionDate_Calculation.setObjectName("actionDate_Calculation")
        self.actionCurrency = QtWidgets.QAction(MainWindow)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap("../images/money.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionCurrency.setIcon(icon9)
        self.actionCurrency.setObjectName("actionCurrency")
        self.actionVolume = QtWidgets.QAction(MainWindow)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap("../images/shapes.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionVolume.setIcon(icon10)
        self.actionVolume.setObjectName("actionVolume")
        self.actionLength = QtWidgets.QAction(MainWindow)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap("../images/ruler.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionLength.setIcon(icon11)
        self.actionLength.setObjectName("actionLength")
        self.actionWeight_and_Mass = QtWidgets.QAction(MainWindow)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap("../images/weighing-scale.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionWeight_and_Mass.setIcon(icon12)
        self.actionWeight_and_Mass.setObjectName("actionWeight_and_Mass")
        self.actionTemperature = QtWidgets.QAction(MainWindow)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap("../images/temperature.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionTemperature.setIcon(icon13)
        self.actionTemperature.setObjectName("actionTemperature")
        self.actionEnergy = QtWidgets.QAction(MainWindow)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap("../images/fire.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionEnergy.setIcon(icon14)
        self.actionEnergy.setObjectName("actionEnergy")
        self.actionArea = QtWidgets.QAction(MainWindow)
        icon15 = QtGui.QIcon()
        icon15.addPixmap(QtGui.QPixmap("../images/area.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionArea.setIcon(icon15)
        self.actionArea.setObjectName("actionArea")
        self.actionSpeed = QtWidgets.QAction(MainWindow)
        icon16 = QtGui.QIcon()
        icon16.addPixmap(QtGui.QPixmap("../images/fast.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSpeed.setIcon(icon16)
        self.actionSpeed.setObjectName("actionSpeed")
        self.actionTime = QtWidgets.QAction(MainWindow)
        icon17 = QtGui.QIcon()
        icon17.addPixmap(QtGui.QPixmap("../images/clock.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionTime.setIcon(icon17)
        self.actionTime.setObjectName("actionTime")
        self.actionPower = QtWidgets.QAction(MainWindow)
        icon18 = QtGui.QIcon()
        icon18.addPixmap(QtGui.QPixmap("../images/energy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionPower.setIcon(icon18)
        self.actionPower.setObjectName("actionPower")
        self.actionData = QtWidgets.QAction(MainWindow)
        icon19 = QtGui.QIcon()
        icon19.addPixmap(QtGui.QPixmap("../images/statistics.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionData.setIcon(icon19)
        self.actionData.setObjectName("actionData")
        self.actionPressure = QtWidgets.QAction(MainWindow)
        icon20 = QtGui.QIcon()
        icon20.addPixmap(QtGui.QPixmap("../images/indicator.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionPressure.setIcon(icon20)
        self.actionPressure.setObjectName("actionPressure")
        self.actionAngle = QtWidgets.QAction(MainWindow)
        icon21 = QtGui.QIcon()
        icon21.addPixmap(QtGui.QPixmap("../images/angle.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAngle.setIcon(icon21)
        self.actionAngle.setObjectName("actionAngle")

        self.actionDark_ = QtWidgets.QAction(MainWindow)
        self.actionDark_.setObjectName("actionDark_")
        self.actionLight_ = QtWidgets.QAction(MainWindow)
        self.actionLight_.setObjectName("actionLight_")
        self.menuCalculator.addAction(self.actionStandard)
        self.menuCalculator.addAction(self.actionScientific)
        self.menuCalculator.addAction(self.actionProgrammer)
        self.menuCalculator.addAction(self.actionDate_Calculation)
        self.menuConverter.addAction(self.actionVolume)
        self.menuConverter.addAction(self.actionLength)
        self.menuConverter.addAction(self.actionWeight_and_Mass)
        self.menuConverter.addAction(self.actionTemperature)
        self.menuConverter.addAction(self.actionEnergy)
        self.menuConverter.addAction(self.actionArea)
        self.menuConverter.addAction(self.actionSpeed)
        self.menuConverter.addAction(self.actionTime)
        self.menuConverter.addAction(self.actionPower)
        self.menuConverter.addAction(self.actionData)
        self.menuConverter.addAction(self.actionPressure)
        self.menuConverter.addAction(self.actionAngle)
        self.menuOption.addAction(self.menuCalculator.menuAction())
        self.menuOption.addAction(self.menuConverter.menuAction())
        self.menuOption.addSeparator()
        self.menuOption.addAction(self.actionExit)
        self.menuBar.addAction(self.menuOption.menuAction())


        self.a_retranslateUi(MainWindow)
        self.a_comboBox_2.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def a_retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Calculator"))
        self.a_point.setText(_translate("MainWindow", "."))
        self.a_three.setText(_translate("MainWindow", "3"))
        self.a_zero.setText(_translate("MainWindow", "0"))
        self.a_two.setText(_translate("MainWindow", "2"))
        self.a_eight.setText(_translate("MainWindow", "8"))
        self.a_five.setText(_translate("MainWindow", "5"))
        self.a_seven.setText(_translate("MainWindow", "7"))
        self.a_six.setText(_translate("MainWindow", "6"))
        self.a_four.setText(_translate("MainWindow", "4"))
        self.a_nine.setText(_translate("MainWindow", "9"))
        self.a_one.setText(_translate("MainWindow", "1"))
        self.a_ce.setToolTip(_translate("MainWindow", "Clear"))
        self.a_ce.setText(_translate("MainWindow", "CE"))
        self.a_back.setToolTip(_translate("MainWindow", "Remove/Back"))
        self.a_back.setText(_translate("MainWindow", "<"))
        self.a_label_1.setText(_translate("MainWindow", "0"))
        self.a_label_2.setText(_translate("MainWindow", "0"))
        self.a_comboBox_2.setItemText(0, _translate("MainWindow", "Degrees"))
        self.a_comboBox_2.setItemText(1, _translate("MainWindow", "Radians"))
        self.a_comboBox_2.setItemText(2, _translate("MainWindow", "Gradians"))
        self.a_comboBox_1.setItemText(0, _translate("MainWindow", "Degrees"))
        self.a_comboBox_1.setItemText(1, _translate("MainWindow", "Radians"))
        self.a_comboBox_1.setItemText(2, _translate("MainWindow", "Gradians"))
        self.label.setText(_translate("MainWindow", "Angle"))
        self.menuCalculator.setTitle(_translate("MainWindow", "Calculator"))
        self.menuConverter.setTitle(_translate("MainWindow", "Converter"))

        self.actionDark.setText(_translate("MainWindow", "Dark"))
        self.actionLight.setText(_translate("MainWindow", "Light"))
        self.actionSetting.setText(_translate("MainWindow", "Setting"))
        self.actionExit.setText(_translate("MainWindow", "Exit"))
        self.actionStandard.setText(_translate("MainWindow", "Standard"))
        self.actionScientific.setText(_translate("MainWindow", "Scientific"))
        self.actionProgrammer.setText(_translate("MainWindow", "Programmer"))
        self.actionDate_Calculation.setText(_translate("MainWindow", "Date Calculation"))
        self.actionCurrency.setText(_translate("MainWindow", "Currency"))
        self.actionVolume.setText(_translate("MainWindow", "Volume"))
        self.actionLength.setText(_translate("MainWindow", "Length"))
        self.actionWeight_and_Mass.setText(_translate("MainWindow", "Weight and Mass"))
        self.actionTemperature.setText(_translate("MainWindow", "Temperature"))
        self.actionEnergy.setText(_translate("MainWindow", "Energy"))
        self.actionArea.setText(_translate("MainWindow", "Area"))
        self.actionSpeed.setText(_translate("MainWindow", "Speed"))
        self.actionTime.setText(_translate("MainWindow", "Time"))
        self.actionPower.setText(_translate("MainWindow", "Power"))
        self.actionData.setText(_translate("MainWindow", "Data"))
        self.actionPressure.setText(_translate("MainWindow", "Pressure"))
        self.actionAngle.setText(_translate("MainWindow", "Angle"))

        self.actionDark_.setText(_translate("MainWindow", "Dark"))
        self.actionLight_.setText(_translate("MainWindow", "Light"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow_Angle()
    ui.setupUiAngle(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())
